From: Jim Blandy Date: Mon, 10 May 1993 23:31:01 +0000 (+0000) Subject: * xfns.c (Fx_create_frame): Use an XLFD name for the default font, X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96322 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ee8f40ccfc506e0b534f30b71666949906d77d94;p=emacs.git * xfns.c (Fx_create_frame): Use an XLFD name for the default font, instead of "9x15" or whatever it was. --- diff --git a/src/xfns.c b/src/xfns.c index a02e20de419..0ace204ec66 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1870,7 +1870,12 @@ be shared by the new frame.") /* Extract the window parameters from the supplied values that are needed to determine window geometry. */ - x_default_parameter (f, parms, Qfont, build_string ("9x15"), + x_default_parameter (f, parms, Qfont, + build_string + /* If we use an XLFD name for this font, the lisp code + knows how to find variants which are bold, italic, + etcetera. */ + ("-*-fixed-*-*-*-*-*-120-*-*-c-*-iso8859-1"), "font", "Font", string); x_default_parameter (f, parms, Qborder_width, make_number (2), "borderwidth", "BorderWidth", number);